---
title: http.Agent.new()
api: http.Agent.new
---

## Description

<Summary/>

## Syntax

``` js
new http.Agent(host)
new http.Agent(host, options)
```

## Parameters

<Parameters/>

## See Also

* [http.Agent](/reference/api/http/Agent)
* [request()](/reference/api/http/Agent/request)
